home *** CD-ROM | disk | FTP | other *** search
- .MODEL SMALL
-
- INCLUDE equates.inc
- INCLUDE instance.inc
- INCLUDE messages.inc
- INCLUDE objects.inc
-
- IF1
- INCLUDE macros.mac
- INCLUDE objects.mac
- INCLUDE cursor.mac
- ENDIF
-
- EXTRN Self:WORD
-
- .CODE
-
- COMMENT %
- ==============================================================================
- Positions the cursor.
-
- =============================================================================%
- setCursor PROC NEAR
- getInst dh,Row1,Cursor ;Get cursor row
- getInst dl,Col1 ;Get cursor column
- setCur dh,dl ;Position cursor
- ret
- setCursor ENDP
-
-
-
- COMMENT %
- ==============================================================================
- Sets Cursor coordinates so that it becomes hidden on next Refresh.
-
- =============================================================================%
- clrCursor PROC NEAR
- setInst Row1,25,Cursor,1 ;Set cursor row
- setInst Col1,0,,1 ;Set cursor column
- ret
- clrCursor ENDP
-
-
-
- .DATA
-
- defMsg Cursor,\
- Refresh,\
- <,,setCursor>
-
- defMsg Cursor,\
- Update,\
- <clrCursor,,>
-
- defObj Cursor,\
- <>,\
- <Row1,1,25,\
- Col1,1,0>,\
- <Refresh,Update>
-
-
-
- END